﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IDAL
{
   public interface IDepartmentDAL
   {
       DataTable GetAllDepartment();

       DataTable Query(string strWhere);

       DataTable GetAllSubDepartment(int parentId);

       DataTable GetSubDepartment(int parentId);

       Boolean Add(Department department);

       Boolean Update(Department department);

       Boolean Delete(int departmentId);
   }
}
